/*
 * IPhone.h
 *
 *  Created on: 17 May 2010
 *      Author: Savramis Sartios
 */

#ifndef IPHONE_H_
#define IPHONE_H_

#include <string>
using namespace std;

/**
 * General interface for phone
 */
class IPhone{
public:
	/**
	 *	Sets the phone number
	 *	\param number, phone number
	 */
	virtual void	setNumber(const string *number)=0;

	/**
	 *	Return the phone number
	 *	\return number, the phone number
	 */
	virtual string	*	getNumber()const=0;

	/**
	 * Sets the category of the phone (e.x. home, mobile, fax, etc)
	 */
	virtual void	setCategory(const string *category)=0;

	/**
	 * Returns the phone category
	 * \return category, the phone's category (e.x. home, mobile, fax, etc)
	 */
	virtual string	*	getCategory()const=0;
};
#endif /* IPHONE_H_ */
